summaryrefslogtreecommitdiff
path: root/app/[lng]
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-07-22 02:57:00 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-07-22 02:57:00 +0000
commitee57cc221ff2edafd3c0f12a181214c602ed257e (patch)
tree148f552f503798f7a350d6eff936b889f16be49f /app/[lng]
parent14f61e24947fb92dd71ec0a7196a6e815f8e66da (diff)
(대표님, 최겸) 이메일 템플릿, 벤더데이터 변경사항 대응, 기술영업 변경요구사항 구현
Diffstat (limited to 'app/[lng]')
-rw-r--r--app/[lng]/evcp/(evcp)/budgetary-tech-sales-hull/page.tsx2
-rw-r--r--app/[lng]/evcp/(evcp)/budgetary-tech-sales-ship/page.tsx2
-rw-r--r--app/[lng]/evcp/(evcp)/budgetary-tech-sales-top/page.tsx2
-rw-r--r--app/[lng]/evcp/(evcp)/contact-possible-items/page.tsx8
-rw-r--r--app/[lng]/evcp/(evcp)/email-template/[slug]/page.tsx12
-rw-r--r--app/[lng]/procurement/(procurement)/email-template/[name]/page.tsx26
-rw-r--r--app/[lng]/procurement/(procurement)/email-template/page.tsx19
7 files changed, 14 insertions, 57 deletions
diff --git a/app/[lng]/evcp/(evcp)/budgetary-tech-sales-hull/page.tsx b/app/[lng]/evcp/(evcp)/budgetary-tech-sales-hull/page.tsx
index ce7bac9a..97e53567 100644
--- a/app/[lng]/evcp/(evcp)/budgetary-tech-sales-hull/page.tsx
+++ b/app/[lng]/evcp/(evcp)/budgetary-tech-sales-hull/page.tsx
@@ -35,7 +35,7 @@ export default async function HullRfqPage(props: HullRfqPageProps) {
<div>
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">
- 기술영업-해양 Hull RFQ
+ 기술영업-해양 Hull Budgetary RFQ
</h2>
<InformationButton pagePath="evcp/budgetary-tech-sales-hull" />
</div>
diff --git a/app/[lng]/evcp/(evcp)/budgetary-tech-sales-ship/page.tsx b/app/[lng]/evcp/(evcp)/budgetary-tech-sales-ship/page.tsx
index b2132cac..779b9ac9 100644
--- a/app/[lng]/evcp/(evcp)/budgetary-tech-sales-ship/page.tsx
+++ b/app/[lng]/evcp/(evcp)/budgetary-tech-sales-ship/page.tsx
@@ -35,7 +35,7 @@ export default async function RfqPage(props: RfqPageProps) {
<div>
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">
- 기술영업-조선 RFQ
+ 기술영업-조선 Budgetary RFQ
</h2>
<InformationButton pagePath="evcp/budgetary-tech-sales-ship" />
</div>
diff --git a/app/[lng]/evcp/(evcp)/budgetary-tech-sales-top/page.tsx b/app/[lng]/evcp/(evcp)/budgetary-tech-sales-top/page.tsx
index 37b75d22..5c96c85d 100644
--- a/app/[lng]/evcp/(evcp)/budgetary-tech-sales-top/page.tsx
+++ b/app/[lng]/evcp/(evcp)/budgetary-tech-sales-top/page.tsx
@@ -35,7 +35,7 @@ export default async function HullRfqPage(props: HullRfqPageProps) {
<div>
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">
- 기술영업-해양 TOP RFQ
+ 기술영업-해양 TOP Budgetary RFQ
</h2>
<InformationButton pagePath="evcp/budgetary-tech-sales-top" />
</div>
diff --git a/app/[lng]/evcp/(evcp)/contact-possible-items/page.tsx b/app/[lng]/evcp/(evcp)/contact-possible-items/page.tsx
index 9fda681e..5bc36790 100644
--- a/app/[lng]/evcp/(evcp)/contact-possible-items/page.tsx
+++ b/app/[lng]/evcp/(evcp)/contact-possible-items/page.tsx
@@ -25,11 +25,11 @@ export default async function ContactPossibleItemsPage({
<div className="flex items-center justify-between space-y-2">
<div>
<h2 className="text-2xl font-bold tracking-tight">
- 담당자별 아이템 관리
+ 담당자별 자재 관리
</h2>
- <p className="text-muted-foreground">
- 기술영업 담당자별 가능 아이템을 관리합니다.
- </p>
+ {/* <p className="text-muted-foreground">
+ 기술영업 담당자별 자재를 관리합니다.
+ </p> */}
</div>
</div>
</div>
diff --git a/app/[lng]/evcp/(evcp)/email-template/[slug]/page.tsx b/app/[lng]/evcp/(evcp)/email-template/[slug]/page.tsx
index 713c2b6d..2654489f 100644
--- a/app/[lng]/evcp/(evcp)/email-template/[slug]/page.tsx
+++ b/app/[lng]/evcp/(evcp)/email-template/[slug]/page.tsx
@@ -6,13 +6,14 @@ import { getTemplateAction } from "@/lib/email-template/service"
import { TemplateEditor } from "@/lib/email-template/editor/template-editor"
interface TemplateDetailPageProps {
- params: {
+ params: Promise<{
slug: string
- }
+ }>
}
export async function generateMetadata({ params }: TemplateDetailPageProps): Promise<Metadata> {
- const result = await getTemplateAction(params.slug)
+ const { slug } = await params
+ const result = await getTemplateAction(slug)
if (!result.success || !result.data) {
return {
@@ -27,7 +28,8 @@ export async function generateMetadata({ params }: TemplateDetailPageProps): Pro
}
export default async function TemplateDetailPage({ params }: TemplateDetailPageProps) {
- const result = await getTemplateAction(params.slug)
+ const { slug } = await params
+ const result = await getTemplateAction(slug)
if (!result.success || !result.data) {
notFound()
@@ -36,7 +38,7 @@ export default async function TemplateDetailPage({ params }: TemplateDetailPageP
return (
<div className="flex flex-1 flex-col">
<TemplateEditor
- templateSlug={params.slug}
+ templateSlug={slug}
initialTemplate={result.data}
/>
</div>
diff --git a/app/[lng]/procurement/(procurement)/email-template/[name]/page.tsx b/app/[lng]/procurement/(procurement)/email-template/[name]/page.tsx
deleted file mode 100644
index cccc10fc..00000000
--- a/app/[lng]/procurement/(procurement)/email-template/[name]/page.tsx
+++ /dev/null
@@ -1,26 +0,0 @@
-import { getTemplateAction } from '@/lib/mail/service';
-import MailTemplateEditorClient from '@/components/mail/mail-template-editor-client';
-
-interface EditMailTemplatePageProps {
- params: {
- name: string;
- lng: string;
- };
-}
-
-export default async function EditMailTemplatePage({ params }: EditMailTemplatePageProps) {
- const { name: templateName } = await params;
-
- // 서버에서 초기 템플릿 데이터 가져오기
- const result = await getTemplateAction(templateName);
- const initialTemplate = result.success ? result.data : null;
-
- return (
- <div className="container mx-auto p-6">
- <MailTemplateEditorClient
- templateName={templateName}
- initialTemplate={initialTemplate}
- />
- </div>
- );
-}
diff --git a/app/[lng]/procurement/(procurement)/email-template/page.tsx b/app/[lng]/procurement/(procurement)/email-template/page.tsx
deleted file mode 100644
index 7c1156ee..00000000
--- a/app/[lng]/procurement/(procurement)/email-template/page.tsx
+++ /dev/null
@@ -1,19 +0,0 @@
-import { getTemplatesAction } from '@/lib/mail/service';
-import MailTemplatesClient from '@/components/mail/mail-templates-client';
-
-export default async function MailTemplatesPage() {
- // 서버에서 초기 데이터 가져오기
- const result = await getTemplatesAction();
- const initialData = result.success ? result.data : [];
-
- return (
- <div className="container mx-auto p-6">
- <div className="mb-8">
- <h1 className="text-3xl font-bold text-gray-900 mb-2">메일 템플릿 관리</h1>
- {/* <p className="text-gray-600">이메일 템플릿을 관리할 수 있습니다.</p> */}
- </div>
-
- <MailTemplatesClient initialData={initialData} />
- </div>
- );
-}